|
|
@@ -16,6 +16,8 @@ module Agents
|
16
|
16
|
|
17
|
17
|
Specify a `url` and select a `mode` for when to create Events based on the scraped data, either `all` or `on_change`.
|
18
|
18
|
|
|
19
|
+ `url` can be a single url, or an array of urls (for example, for multiple pages with the exact same structure but different content to scrape)
|
|
20
|
+
|
19
|
21
|
The `type` value can be `xml`, `html`, or `json`.
|
20
|
22
|
|
21
|
23
|
To tell the Agent how to parse the content, specify `extract` as a hash with keys naming the extractions and values of hashes.
|